projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
668ec87
)
powerpc/board/t1024rdb: enable board-level reset when issuing reset command
author
Shengzhou Liu
<
[email protected]
>
Mon, 10 Apr 2017 08:00:08 +0000
(16:00 +0800)
committer
York Sun
<
[email protected]
>
Mon, 17 Apr 2017 16:03:30 +0000
(09:03 -0700)
As board-specific reset logic, it needs to issue reset signal
via CPLD when issuing 'reset' command in u-boot, this patch
solves the issue of reset command not working on T1024RDB.
Signed-off-by: Shengzhou Liu <
[email protected]
>
Reviewed-by: York Sun <
[email protected]
>
board/freescale/t102xrdb/t102xrdb.c
patch
|
blob
|
history
diff --git
a/board/freescale/t102xrdb/t102xrdb.c
b/board/freescale/t102xrdb/t102xrdb.c
index 56f7c1a90992e83529a12911c4668d2f130f5b75..f370f72baa6a7ed0173534c82338d2ea5848f805 100644
(file)
--- a/
board/freescale/t102xrdb/t102xrdb.c
+++ b/
board/freescale/t102xrdb/t102xrdb.c
@@
-167,6
+167,13
@@
unsigned long get_board_ddr_clk(void)
return CONFIG_DDR_CLK_FREQ;
}
+#ifdef CONFIG_TARGET_T1024RDB
+void board_reset(void)
+{
+ CPLD_WRITE(reset_ctl1, CPLD_LBMAP_RESET);
+}
+#endif
+
int misc_init_r(void)
{
return 0;